package com.ruoyi.counter.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 物品类型对象 thtype
 * 
 * @author xll
 * @date 2021-07-26
 */
public class Thtype extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID，递增 */
    private Long thid;

    /** 类型名称 */
    @Excel(name = "类型名称")
    private String tyname;

    /** 类型  */
    @Excel(name = "类型 ")
    private Long type;

    /** 物品编号 */
    @Excel(name = "物品编号")
    private String no;

    /** 定时检查周期 */
    @Excel(name = "定时检查周期")
    private Long tm;

    /** 检验状态 */
    @Excel(name = "检验状态")
    private Long ischeck;

    /** 检查时间 */
    @Excel(name = "检查时间")
    private String checktime;

    /** 下次检查时间 */
    @Excel(name = "下次检查时间")
    private String nextchecktime;

    /** 物品单位 */
    @Excel(name = "物品单位")
    private String dw;

    public void setThid(Long thid) 
    {
        this.thid = thid;
    }

    public Long getThid() 
    {
        return thid;
    }
    public void setTyname(String tyname) 
    {
        this.tyname = tyname;
    }

    public String getTyname() 
    {
        return tyname;
    }
    public void setType(Long type) 
    {
        this.type = type;
    }

    public Long getType() 
    {
        return type;
    }
    public void setNo(String no) 
    {
        this.no = no;
    }

    public String getNo() 
    {
        return no;
    }
    public void setTm(Long tm) 
    {
        this.tm = tm;
    }

    public Long getTm() 
    {
        return tm;
    }
    public void setIscheck(Long ischeck) 
    {
        this.ischeck = ischeck;
    }

    public Long getIscheck() 
    {
        return ischeck;
    }
    public void setChecktime(String checktime) 
    {
        this.checktime = checktime;
    }

    public String getChecktime() 
    {
        return checktime;
    }
    public void setNextchecktime(String nextchecktime) 
    {
        this.nextchecktime = nextchecktime;
    }

    public String getNextchecktime() 
    {
        return nextchecktime;
    }
    public void setDw(String dw) 
    {
        this.dw = dw;
    }

    public String getDw() 
    {
        return dw;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("thid", getThid())
            .append("tyname", getTyname())
            .append("type", getType())
            .append("no", getNo())
            .append("tm", getTm())
            .append("ischeck", getIscheck())
            .append("checktime", getChecktime())
            .append("nextchecktime", getNextchecktime())
            .append("dw", getDw())
            .toString();
    }
}
